package com.gzhryc.pay.adaptation.weixin.msg.advance_pay;

import java.io.Serializable;

public class WXPayAdvancePayNotify implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private String id;
	private String create_time;
	/**
	 * 开启成功通知的类型为PAYSCORE.USER_OPEN_SERVICE
	 * 停用成功通知的类型为PAYSCORE.USER_CLOSE_SERVICE
	 * 用户确认成功通知的类型为PAYSCORE.USER_CONFIRM
	 * 支付成功通知的类型为PAYSCORE.USER_PAID
	 */
	private String event_type;		//通知的类型
	private String resource_type;	//通知的资源数据类型
	private Reosuce resource;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreate_time() {
		return create_time;
	}

	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	public String getEvent_type() {
		return event_type;
	}

	public void setEvent_type(String event_type) {
		this.event_type = event_type;
	}

	public String getResource_type() {
		return resource_type;
	}

	public void setResource_type(String resource_type) {
		this.resource_type = resource_type;
	}

	public Reosuce getResource() {
		return resource;
	}

	public void setResource(Reosuce resource) {
		this.resource = resource;
	}

	public static class Reosuce {
		
		private String algorithm;
		private String ciphertext;
		private String associated_data;
		private String nonce;
		
		public String getAlgorithm() {
			return algorithm;
		}
		public void setAlgorithm(String algorithm) {
			this.algorithm = algorithm;
		}
		public String getCiphertext() {
			return ciphertext;
		}
		public void setCiphertext(String ciphertext) {
			this.ciphertext = ciphertext;
		}
		public String getAssociated_data() {
			return associated_data;
		}
		public void setAssociated_data(String associated_data) {
			this.associated_data = associated_data;
		}
		public String getNonce() {
			return nonce;
		}
		public void setNonce(String nonce) {
			this.nonce = nonce;
		}
	}
	
}
